package com.st.test;

public class Transfer {

    public static void main(String[] args) {
        Long a = Long.parseLong("00000000d5d80000", 16);
        Long c = Long.parseLong("0000000100000000", 16);
        System.out.println((c - a) / 1024 / 1024);
        Long a1 = Long.parseLong("00000000d5d80000", 16);
        Long c1 = Long.parseLong("00000000d7e00000", 16);
        System.out.println((c1 - a1) / 1024 / 1024);
        Long a2 = Long.parseLong("00000000d8300000", 16);
        Long c2 = Long.parseLong("00000000d8800000", 16);
        System.out.println((c2 - a2) / 1024 / 1024);

        //674
        //32
        //5

        //jvm最大运行内存-----------1886912512
        //1799M
        //jvm运行时内存-----------1886912512
        //123M

    }
}
